package com.gxa.domain.vo;
/**
 * 登录成功后返回用户信息
 */
public class LoginUserInfoVO {
    private Integer userId;
    private String account;
    private String username;
    private Integer roleId;

    public LoginUserInfoVO() {
    }

    public LoginUserInfoVO(Integer userId, String account, String username, Integer roleId) {
        this.userId = userId;
        this.account = account;
        this.username = username;
        this.roleId = roleId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return roleId
     */
    public Integer getRoleId() {
        return roleId;
    }

    /**
     * 设置
     * @param roleId
     */
    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String toString() {
        return "LoginUserInfoVO{userId = " + userId + ", account = " + account + ", username = " + username + ", roleId = " + roleId + "}";
    }
}
